package cn.hxzy.common.domain.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.Pattern;
import java.io.Serializable;
import java.util.Date;

/**
 * @Author wangboyu
 * @Description TODO
 * @Date 2024/7/6 17:11
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class StudentVo2 implements Serializable {

    private static final long serialVersionUID = 2921916624316311844L;

    @ApiModelProperty("昵称")
    private String nickName;

    @ApiModelProperty("手机号")
    @Pattern(regexp = "^1[3-9]\\d{9}$", message = "手机号格式不正确")
    private String userPhone;

    @ApiModelProperty("邮箱")
    private String userEmail;

    @ApiModelProperty("学号")
    private String userNo;

    @ApiModelProperty("入学年份")
    private Date admissionYear;

    @ApiModelProperty("备注")
    private String remark;



}
